ElasticPress\IndexHelper D

Total Complexity 161
Dependencies 5
Dependents 14
Total lines 1,369
Lines of code 659
Logical lines of code 354
Comment lines 508
Methods 34
Properties 4

Methods 34

Method Rating Maintainability Complexity Lines of code
index_next_batch()
B
32 21 102
build_index_meta()
B
35 19 83
get_objects_to_index()
B
42 18 45
process_sync_item()
A
43 14 47
is_full_reindexing()
A
51 11 24
index_cleanup()
A
46 8 40
stop_the_insanity()
S
49 7 30
index_objects()
S
49 5 30
maybe_process_error_limit()
S
57 5 16
create_network_alias()
S
50 4 29
put_mapping()
S
53 4 22
add_sync_item_to_stack()
S
56 4 17
output()
S
56 4 17
full_index()
S
57 4 16
process_not_active_indexable_sync_item()
S
57 3 18
update_last_index()
S
56 3 17
on_error_update_and_clean()
S
55 2 19
output_index_errors()
S
64 3 8
handle_index_error()
S
68 3 7
should_skip_object_index()
S
70 2 5
factory()
S
68 2 8
filter_indexables()
S
67 2 8
has_items_to_be_processed()
S
77 2 3
update_totals_from_current_sync_item()
S
60 1 13
output_error()
S
79 1 3
get_last_index()
S
78 1 3
output_success()
S
79 1 3
has_network_alias_to_be_created()
S
79 1 3
full_index_complete()
S
69 1 6
clear_index_meta()
S
75 1 4
get_index_meta()
S
78 1 3
wp_handle_index_error()
S
77 1 4
get_index_default_per_page()
S
77 1 3
setup()
S
79 1 3